package face.pay.cpn.cpnmachServiceinfo;

import face.pay.entity.CpnMchServiceInfo;
import face.pay.entity.CpnMchWorkTime;
import face.pay.entity.UserInfo;
import face.pay.util.ResultMessage;

import java.util.List;

public interface ICpnMchServiceInfoService {
    /**
     * 查找商家服务信息
     *
     * @param loginuser
     * @return
     */
    CpnMchServiceInfo querycpnServiceInfo(UserInfo loginuser);

    /**
     * 更新上架服务信息
     *
     * @param loginUser
     * @param cpnMchServiceInfo
     * @return
     */
    ResultMessage ediet(UserInfo loginUser, CpnMchServiceInfo cpnMchServiceInfo);


    /**
     * 查询商家工作时间
     *
     * @param loginUser
     * @return
     */
    List<CpnMchWorkTime> queryMchWorkTime(UserInfo loginUser);

    /**
     * 修改商家工作时间
     *
     * @param loginUser
     * @param workTimes
     * @return
     */
    ResultMessage updataWorkTime(UserInfo loginUser, List<CpnMchWorkTime> workTimes);
}
